package sunlight.session;

/**
 * exceptie folosita pentru a indica o eroare la finalizarea obiectului sesiune
 * 
 * @author Adrian #350;ilimon
 * @version 1.0
 */
public class SessionDestroyException extends Exception {

	/**
	 * 
	 */
	private static final long serialVersionUID = 6491768470650198307L;
	
	/**
	 * constructorul explicit
	 *  
	 * @param e mesajul specific erorii
	 */
	public SessionDestroyException(String e) {
		super(e);
	}

	/**
	 * retunreaza o reprezentatie sub forma unui string a erorii
	 */
	@Override
	public String toString(){
		return super.toString() + " There was an error while trying to finalize the session object!";
	}

}
